package models

import "gorm.io/gorm"

type Patient struct {
	gorm.Model
	Image string  `gorm:"type:varchar(100);not null;comment:'头像'"`
	Name  string  `gorm:"type:varchar(30);not null;comment:'患者姓名'"`
	Tel   string  `gorm:"type:char(11);not null;comment:'患者手机号码'"`
	Ke    string  `gorm:"type:varchar(30);not null;comment:'挂号科室'"`
	Price float64 `gorm:"type:decimal(10,2);not null;comment:'挂号费'"`
	Time  string  `gorm:"type:datetime;not null;comment:'挂号时间'"`
}
